package cn.fintecher.gis.entity;

import cn.fintecher.gis.enums.PatrolFileType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Table;

/**
 * @Auther: xiaqun
 * @Description: 巡查结果文件
 * @Date: 14:41 2019/4/30
 */

@Data
@Entity
@Table(name = "patrol_file")
@ApiModel(value = "patrol_file", description = "巡查结果文件")
public class PatrolFile extends BaseEntity {
    @ApiModelProperty(value = "巡查任务ID")
    private String patrolId;

    @ApiModelProperty(value = "文件ID")
    private String fileId;

    @ApiModelProperty(value = "文件类型")
    @Enumerated(EnumType.STRING)
    private PatrolFileType fileType;
}
